package com.fary.delegate;

import me.chanjar.weixin.common.session.WxSessionManager;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage;
import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage;

import java.util.Map;

public interface WxMpMessageDelegate {

    WxMpXmlOutMessage handlerUnsubscribe(WxMpXmlMessage wxMessage,
                             Map<String, Object> context,
                             WxMpService wxMpService,
                             WxSessionManager sessionManager);

    WxMpXmlOutMessage handlerScan(WxMpXmlMessage wxMessage,
                                         Map<String, Object> context,
                                         WxMpService wxMpService,
                                         WxSessionManager sessionManager);
}
